package cn.laixue.page;

import java.io.Serializable;

public class Page implements Serializable {
    private Integer dbPage ;
    private Integer pageSize;

    public Page(Integer dbPage, Integer pageSize) {
        this.dbPage = dbPage;
        this.pageSize = pageSize;
    }

    public Page(){


    }

    public Integer getDbPage() {
        return dbPage;
    }

    public void setDbPage(Integer dbPage) {
        this.dbPage = dbPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "Page{" +
                "dbPage=" + dbPage +
                ", pageSize=" + pageSize +
                '}';
    }
}
